<!DOCTYPE html>
<html lang="en">
<include file="CommonSidebar:common-head"/>
<link href="__ROOT__/Application/Admin/Public/css/jquery.datetimepicker.css" rel="stylesheet">
<link href="__PUBLIC__/LoadPading/LoadPading.css" rel="stylesheet">
<style>
    #qrcode canvas {
        width: 100%;
        height: 100%;
    }
</style>
<body>

<div id="wrapper">

    <!-- Navigation -->
    <include file="CommonSidebar:common-navbar"/>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">添加/编辑仓库</h1>
            </div>
        </div>

        <!-- /.row -->
        <div class="row">
            <div class="col-lg-12">
                <div class="row">
                    <div class="col-md-12">
                        <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" id="headingOne">
                                    <h4 class="panel-title">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion"
                                           href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                                            添加/编辑仓库
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel"
                                     aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <form id="editStoreForm" action="{:U('StoreHouse/AddHanld')}"
                                              class="form-horizontal"
                                              method="post">
                                            <input name="ID" type="hidden" value="{$DATA['ID']}">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label">所在省:</label>
                                                <div class="col-sm-3">
                                                    <input type="text" class="form-control" name="P"
                                                           value="{$DATA['P']}">
                                                </div>
                                                <label class="col-sm-2 control-label">所在市:</label>

                                                <div class="col-sm-3">
                                                    <input type="text" class="form-control" name="C"
                                                           value="{$DATA['C']}">
                                                </div>
                                            </div>
                                            <div class="form-group">

                                                <label class="col-sm-2 control-label">所在区/县:</label>

                                                <div class="col-sm-3">
                                                    <input type="text" class="form-control" name="Z"
                                                           value="{$DATA['Z']}">
                                                </div>

                                                <label class="col-sm-2 control-label">详细地址:</label>

                                                <div class="col-sm-3">
                                                    <input type="text" class="form-control" name="ADDRESS"
                                                           value="{$DATA['ADDRESS']}">
                                                </div>

                                            </div>
                                            <div class="form-group">

                                                <label class="col-sm-2 control-label">仓库名称:</label>

                                                <div class="col-sm-3">
                                                    <input type="text" class="form-control" name="NAME"
                                                           value="{$DATA['NAME']}" >
                                                </div>

                                            </div>

                                            <div class="form-group">
                                                <div class="col-sm-2 col-sm-offset-2">
                                                    <button type="submit" class="btn btn-block btn-primary">保存</button>
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>

    </div>
    <!-- /#page-wrapper -->

</div>



<include file="CommonSidebar:common-script"/>
<!-- Custom Theme JavaScript -->
<script src="__ROOT__/Application/Admin/Public/dist/js/sb-admin-2.js"></script>
<script type="text/javascript" src="__ROOT__/Application/Admin/Public/js/uploadPreview.js"></script>
<script type="text/javascript" src="__ROOT__/Application/Admin/Public/js/jquery.form.min.js"></script>
<script type="text/javascript" src="__ROOT__/Application/Admin/Public/js/jquery.qrcode.min.js"></script>


</body>

</html>
